<div class="home-post-wrap">
<div class="thumbnail-div" style="background: url($FULL_PHOTO_DIRECT_URL$); background-size: cover; border-top: 1px solid #1C242B; border-right: 1px solid #1C242B; border-left: 1px solid #1C242B; float: left;" title="$PHOTO_NAME$">
 <div class="info"><span class="info-titles"><a href="$PHOTO_URL$" title="$PHOTO_NAME$">
 <?if(len($PHOTO_NAME$)>36)?><?substr($PHOTO_NAME$,0,36)?>...<?else?>$PHOTO_NAME$<?endif?></a>
 </span></div>

<?if(($RATING$*$RATED$-2*$RATED$)=0)?><div alt="more info" class="info-button" title=": $RATED$" id="rate_$ID$" style="background: gray; color: black; font-size: 9pt; padding: 0px 12px 0px 12px; border-radius: 0px 0px 0px 5px; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #000; cursor: pointer; float: right;"><?endif?>
<?if(($RATING$*$RATED$-2*$RATED$)<0)?><div alt="more info" class="info-button" title=": $RATED$" id="rate_$ID$" style="background: red; color: black; font-size: 9pt; padding: 0px 12px 0px 12px; border-radius: 0px 0px 0px 5px; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #000; cursor: pointer; float: right;"><?endif?>
<?if(($RATING$*$RATED$-2*$RATED$)>0)?><div alt="more info" class="info-button" title=": $RATED$" id="rate_$ID$" style="background: green; color: black; font-size: 9pt; padding: 0px 12px 0px 12px; border-radius: 0px 0px 0px 5px; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #000; cursor: pointer; float: right;"><?endif?>
<b><script type="text/javascript">document.write(Math.round(<?($RATING$*$RATED$)?>)-<?2*$RATED$?>)</script></b>
</div>

</div>
<div class="bar">
<div class="ratingbox">
<div style="clear: both;"></div>
<div id="post-ratings-68" class="post-ratings" align="center">


<div class="moderpan" id="moderpan$ID$" style='-webkit-box-shadow:0 0 10px ##DBE2F7;-moz-box-shadow:0 0 10px #DBE2F7;box-shadow:0 0 10px #DBE2F7;'> 
<span class="mdrnlist"><?if($MODER_PANEL$)?>
<a href="javascript://" rel="nofollow" onclick="new _uWnd('TgEd',' ',-450,-100,{autosize:1,closeonesc:1,resize:0},{url:'/index/52-4-$ID$'});return false;" title=" "><img src="http://webo4ka.ru/Ucoz4/izmeniti_tegi_tags--arrow.png" border="0" /></a> 
<a href="javascript://" rel="nofollow" onclick="new _uWnd('cntEd',' ',-280,-100,{autosize:1,closeonesc:1,resize:0},{url:'/index/87-4-$ID$'});return false;" title=" "><img src="http://webo4ka.ru/Ucoz4/chetchik_chart_pie.png" border="0" /></a> 
<a href="/photo/0-0-$ID$-4" title=""><img src="http://webo4ka.ru/Ucoz4/redaktirovati_pencil.png" border="0" /></a> 
<a href="javascript://" title="" onclick="if(confirm('    ?'))$.get('/index/92-2-$ID$-<?substr($MODER_PANEL$, strrpos($MODER_PANEL$,"','h")-8,8)?>',function(){setTimeout(function(){_uWnd.alert('  !!','',{w: 300, h: 60, tm: 1000000});$('#entryID$ID$').fadeOut('slow');},2000)});"><img src="http://webo4ka.ru/Ucoz4/ydalit_cross.png" border="0" /></a> 
<?else?><a href="#" rel="nofollow" title="   - !"><img src="/images/moder_panel/error-icon.png" border="0" /></a><?endif?>
</span> 
</div>

</div>
</div>

<a href="#" class="rating" style="float: left; cursor: pointer" title=" ">
<div class="prew_rate"></div></a>
 
<a href="$PHOTO_URL$" style="float: left; cursor: pointer" title="  ">
<div class="prew_com"><u>$COMMENTS_NUM$</u></div></a>

<a href="$PHOTO_LIGHTBOX_URL$" class="rating" style="float: left; cursor: pointer" title=" : $DATE$  $TIME$">
<div class="prew_date"></div></a>

<a href="$PHOTO_URL$" style="float: right" title="    ">
<div class="prew_more"></div></a>
</div>
</div>

<style>
div.moderpan span.mdrnlist a { 
 height: 31px;
 width: 39px;
 display: block;
 padding: 8px 4px 0px 4px;
 border-bottom: #2D3A4F solid 1px;
 border-right: #2D3A4F solid 1px;
 background: #1E242A; }

div.moderpan span.mdrnlist a:hover { 
 background-color: #414E59;
 border-bottom: #526270 solid 1px;
 border-right: #526270 solid 1px; }

a.lbunext span { 
background: url("/images/icons/next.png") 0px 0px no-repeat transparent;
right: 0px;}

a.lbuprev span { 
background: url("/images/icons/prev.png") 0px 0px no-repeat transparent;
left: 0px;}

.myWinCont legend { 
color: #fff;
font-size: 12px;
background-color: gray;
border-radius: 4px;
padding: 4px;}

.xw-plain div.xw-mc { 
color: #F3F3F3;
text-shadow: 0px 0px 0px #F3F3F3;}

.myWinCont, .myWinCont td, .myWinCont dl, .myWinCont dt { 
color: #000;
font-family: "Arial";
font-size: 12px;}
 
.myWinCont a:link, .myWinCont a:visited { 
color: #000;
font-weight: 600;
text-decoration: none;}

#suggEdit { 
font-size: 11px;
position: relative;
width: 420px;
margin-bottom: 4px;}
</style>